.movies {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.no_data {
    text-align: center;
}

.pagin {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.pagin__button {
    border: none;
    outline: none;
    color: yellow;
    background: black;
    padding: 5px;
    cursor: pointer;
}

.pagin__page {
    display: flex;
    gap: 5px;
    align-items: center;
    color: black;
    font-size: 16px;
}

.pagin__edit {
    padding: 10px;
    border: 2px solid yellow;
    max-width: 80px;
    field-sizing: content
}

.card {
    width: calc(25% - 9px);
    background-color: yellow;
}

.card__img {
    display: block;
    width: 100%;
}

.card__info {
    padding: 10px 5px;
}

.card__name {
    color: black;
    text-decoration: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.card__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card__rating {
    font-size: 20px;
    font-weight: 500;
    color: blue;
}

.card__year {
    font-size: 18px;
    font-weight: 500;
    color: red;
}

@media (max-width: 800px) {
    .card {
        width: calc(33.3% - 8px);
    }
}

@media (max-width: 600px) {
    .card {
        width: calc(50% - 6px);
    }
}

@media (max-width: 400px) {
    .card {
        width: 100%;
    }
}